package com.hhkj.study.admin.order.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author luowu
 * @Date 2024/9/19 涵 9:53:44
 */
@AllArgsConstructor
@Getter
public enum OrderStatusEnum {

    /**
     * 订单状态
     */
    UN_PAY("unpay", "未支付"),

    PAID("paid", "支付成功"),

    REFUND("refund", "已退款"),

    REFUNDING("refunding", "退款审核中"),

    REFUND_PART("refund_part", "部分退款"),

    REFUND_ALL("refund_all", "全额退款"),

    CLOSED("closed", "已关闭"),

    CANCEL("cancel", "已取消"),
    ;


    private String code;
    private String desc;

    @Override
    public String toString() {
        return code;
    }
}
